Template:Game Jolt/sandbox
Game Jolt/sandbox at Game Jolt
This is the template sandbox page for Template:Game Jolt (diff). |
This template uses Lua: |
Template:Game Jolt displays an external link to a Game Jolt page for a video game.
Please only add it in instances where it provides additional or strongly-supporting information to the article.
Usage
[edit]- One parameter
{{Game Jolt | ID }}
{{Game Jolt | id= ID }}
- Two parameters
{{Game Jolt | ID | NAME }}
{{Game Jolt | id= ID | name= NAME }}
- Using Wikidata
{{Game Jolt}}
{{Game Jolt | name= NAME }}
Examples
[edit]The following examples link to the page for the static speaks my name:
One parameter
[edit]When a name is not specified, the template uses the current page name (without disambiguation) and displays it in italics.
- Usage
{{Game Jolt | /the-static-speaks-my-name/45383 }}
{{Game Jolt | id= /the-static-speaks-my-name/45383 }}
- Output
- Game Jolt/sandbox at Game Jolt
- Game Jolt/sandbox at Game Jolt
Two parameters
[edit]When a name is not specified, the template uses the current page name (without disambiguation) and displays it in italics.
- Usage
{{Game Jolt | /the-static-speaks-my-name/45383 | the static speaks my name }}
{{Game Jolt | id= /the-static-speaks-my-name/45383 | name= the static speaks my name }}
No parameters and Wikidata property not defined
[edit]- Usage
* {{Game Jolt}}
- Output
- {{Game Jolt}} template missing ID and not present in Wikidata.
Template data
[edit]TemplateData for Game Jolt
This template displays an external link to a Game Jolt page for a video game.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 id | The ID portion of the URL, such as /the-static-speaks-my-name/45383 in https://www.gamejolt.com/games/the-static-speaks-my-name/45383. This parameter is optional if Wikidata property P12072 exists, but required if not.
| String | optional |
Name | 2 name | Name displayed in the link text. If not specified it defaults to the current page name (without disambiguation) and is displayed in italics.
| String | optional |